package start.doubudouyin.service;

import start.doubudouyin.entity.Usersmessage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author mmmm
* @description 针对表【usersmessage(用户消息表)】的数据库操作Service
* @createDate 2025-06-09 14:26:05
*/
public interface UsersmessageService extends IService<Usersmessage> {

    //插入用户消息
    boolean insertUsersMessage(Usersmessage usersmessage);


    //获取聊天记录
    List<Usersmessage> getChatHistory(String senderId, String receiverId);
}
